<?php
if(!isset($GLOBALS['_vars'])) $GLOBALS['_vars'] = array(); 
$fields = array();
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Guest Book_仰望丶星空's Blog</title>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link rel="stylesheet"
	href="<?php echo $GLOBALS['cfg_templets_skin']; ?>/style/style.css" type="text/css"
	media="screen" />
<script type="text/javascript" src="/templets/default/js/jquery.js"></script>
<script type="text/javascript" src="/templets/default/js/script.js"></script>
</head>
<body>
	<div id="page">
		<!-- start header -->
		<div id="header">
			<div id="tag-cloud"></div>
			<div class="LS"></div>
			<h1>
				<a href="/"><span>仰望丶星空</span>'s Blog</a>
			</h1>
			<div id="taotao"></div>
		</div>
		<div id="menu">
			<ul id="nav">
				<li class="current_page_item"><a href="/">Blog</a></li>
				<li class="page_item"><a href="/plus/guestbook.php"
					title="guestbook">Guestbook</a></li>
				<li class="page_item"><a href="/about/" title="about">About</a></li>
				<li class="page_item"><a href="/plus/flink.php" title="Links">Links</a></li>
			</ul>
		</div>
		<!-- start content items -->
		<div id="content">
			<!-- start center -->
			<div id="SC">
				<div class="Post">
					<div class="PostHead">
						<h1>
							Guest Book<span id="scrollto"></span>
						</h1>
						<div class="navigation"></div>
					</div>
				</div>
				<?php 
				$ntt=0;
				$bgcc = '#FBFEED';
				
$atts = array();
$atts['tagname'] = 'datalist';
$blockValue = $this->refObj->GetArcList($atts,$this->refObj,$fields); 
if(is_array($blockValue)){
foreach( $blockValue as $key=>$fields )
{
?>
				<ol id="ComListOl" class="commentlist">
					<li style="padding-top: 0pt;"
						class="comment even thread-even depth-1">
						<div class="gravatar">
							<a href="mailto:<?php echo $fields["email"]?>"><img
								alt="<?php echo $fields['uname']; ?>"
								src="guestbook/images/<?php echo $fields['face']?>.gif"
								class="avatar avatar-48 photo" height="48" width="48" /></a>
							<?php echo GetIsCheck($fields['ischeck'],$fields['id'])?>
						</div>
						<div class="vcard">
							<span class="comment-author">
								<?php echo $fields['uname']; ?>
							</span> 
							<span class="comment-meta">
								<?php echo MyDate('m-d H:i',$fields['dtime']); ?>
							</span> 
							<span class="replay"> <?php if($g_isadmin) { ?> 
							<a href='guestbook.php?action=admin&id=<?php echo $fields['id']; ?>'>[回复/编辑]</a>
								&nbsp; 
								<a href='guestbook.php?action=admin&id=<?php echo $fields['id']; ?>&job=del'>[删除]</a>
								<?php }  ?>
								</span>
						</div>
						<div class="commentText">
							<?php echo $fields['msg']; ?>
						</div>
					</li>
				</ol>
				<?php if($ntt==0){$ntt=1;}else{ $ntt=0; } 
}
}?>
				<div class="navigation">
					<div class="alignright"></div>
					<div class="alignleft"><?php
$atts = array();
$atts['tagname'] = 'pagelist';
$atts['listsize'] = '5';
 echo $this->refObj->GetPageList($atts,$this->refObj,$fields); 
?>
</div>
				</div>
				<div id="respond">
					<h3>Leave a Reply</h3>
					<div id="need">
						<form method="post" action="guestbook.php" name="form1">
							<input type='hidden' name='action' value='save' />
							<p>
								<label for="name">Name</label><br /> <input name="uname"
									type="text" class="TextArea" id="name" title="Name"
									maxlength="60" />
							</p>
							<p>
								<label for="email">Email address</label><br /> <input
									name="email" type="text" class="TextArea" id="email"
									title="Email address" maxlength="40" />
							</p>
							<p>
								<label for="validate">Type the show code</label><br /> <input
									name="validate" type="text" class="TextField" id="validate"
									title="Type the show code" maxlength="4" /><img
									src="../include/vdimgck.php" alt="看不清？点击更换" align="middle"
									class="img" id="vdimgck" style="cursor: pointer;"
									onClick="this.src=this.src+'?'" /><span id="commentTip"><a
									href="#toux" onclick="toggle()">[选择头像]</a></span> <a href="#toux"></a>
							</p>
							<div id="toux" style="display: none">
								<div>
									<input type="radio" name="img" onclick="toggle()" value="01"
										checked /> <img src="guestbook/images/01.gif" alt="01"
										width="25" height="25" /> <input type="radio" name="img"
										onclick="toggle()" value="02" /> <img
										src="guestbook/images/02.gif" alt="02" width="25" height="25" />
									<input type="radio" name="img" onclick="toggle()" value="03" />
									<img src="guestbook/images/03.gif" alt="03" width="25"
										height="25" /> <input type="radio" name="img"
										onclick="toggle()" value="04" /> <img
										src="guestbook/images/04.gif" alt="04" width="25" height="25" />
									<input type="radio" name="img" onclick="toggle()" value="05" />
									<img src="guestbook/images/05.gif" alt="05" width="25"
										height="25" /> <input type="radio" name="img"
										onclick="toggle()" value="06" /> <img
										src="guestbook/images/06.gif" alt="06" width="25" height="25" />
									<input type="radio" name="img" onclick="toggle()" value="08" />
									<img src="guestbook/images/08.gif" alt="07" width="25"
										height="25" /> <br clear="all" /> <input type="radio"
										name="img" onclick="toggle()" value="13" /> <img
										src="guestbook/images/13.gif" alt="08" width="25" height="25" />
									<input type="radio" name="img" onclick="toggle()" value="14" />
									<img src="guestbook/images/14.gif" alt="09" width="25"
										height="25" /> <input type="radio" name="img"
										onclick="toggle()" value="15" /> <img
										src="guestbook/images/15.gif" alt="10" width="25" height="25" />
									<input type="radio" name="img" onclick="toggle()" value="16" />
									<img src="guestbook/images/16.gif" alt="11" width="25"
										height="25" /> <input type="radio" name="img"
										onclick="toggle()" value="17" /> <img
										src="guestbook/images/17.gif" alt="12" width="25" height="25" />
									<input type="radio" name="img" onclick="toggle()" value="18" />
									<img src="guestbook/images/18.gif" alt="13" width="25"
										height="25" /> <input type="radio" name="img"
										onclick="toggle()" value="20" /> <img
										src="guestbook/images/20.gif" alt="14" width="25" height="25" />
								</div>
							</div>
							<p>
								<label for="msg">Comment (max 100)</label><br />
								<textarea name="msg" cols="30" rows="5" class="TextArea"
									id="msg" title="Comment"></textarea>
							</p>
							<p>
								<input style="margin-left: 30px;" type="image"
									class="SubmitComment" id="SubmitComment"
									title="Post Your Comment" src="/templets/default/images/t.png"
									alt="发表评论" />
							</p>
						</form>
					</div>
				</div>
			</div>
			<!-- //评论表单区结束 -->
		</div>
		<!-- end center -->
		<div id="sidebar">
			<div id="sidebarL">
				<!-- start Search -->
				<div id="search_container">
					<div id="search">
						<form id="searchForm" action="/plus/search.php" method="get">
							<input type="hidden" name="cx"
								value="000467930255669588558:knn9viidrei" /> <input
								type="hidden" name="cof" value="FORID:11" /> <input
								type="hidden" name="ie" value="UTF-8" /> <input type="text"
								name="q" class="keyword" />
							<div id="buttonsearch">
								<input id="submitBtn" name="sa" type="image" class="search"
									title="Search" src="/templets/default/images/t.png"
									alt="Search" />
							</div>
						</form>
					</div>
				</div>
				<!-- end Search -->
				<div id="module">
					<div id="Syn">
						<ul>
							<li><a title="订阅我的网站，不错过精彩内容！" href="http://feed.78999.org">Entries</a>
								(RSS)</li>
						</ul>
						<div id="feeds">
							<ul>
								<li><a target="_blank" rel='external nofollow'
									href="http://www.google.com/reader/view/#stream/feed/http://feed.78999.org/"><img
										id="google" src="/templets/default/images/t.png"
										title="Google Reader" alt="google reader" /></a></li>
								<li><a target="_blank" rel='external nofollow'
									href="http://www.xianguo.com/subscribe.php?url=http://feed.78999.org"><img
										id="xianguo" src="/templets/default/images/t.png" title="鲜果"
										alt="鲜果" /></a></li>
								<li><a target="_blank" rel='external nofollow'
									href="http://www.zhuaxia.com/add_channel.php?url=http://feed.78999.org"><img
										id="zhuaxia" src="/templets/default/images/t.png" title="抓虾"
										alt="抓虾" /></a></li>
								<li><a target="_blank" rel='external nofollow'
									href="http://mail.qq.com/cgi-bin/feed?u=http://feed.78999.org"><img
										id="qqreader" src="/templets/default/images/t.png"
										title="QQ邮箱" alt="QQ邮箱" /></a></li>
								<li><a target="_blank" rel='external nofollow'
									href="http://reader.youdao.com/b.do?url=http://feed.78999.org"><img
										id="youdao" src="/templets/default/images/t.png" title="有道"
										alt="有道" /></a></li>
								<li><a target="_blank" rel='external nofollow'
									href="http://www.newsgator.com/ngs/subscriber/subfext.aspx?url=http://feed.78999.org"><img
										id="newsgator" src="/templets/default/images/t.png"
										title="newsgator" alt="newsgator" /></a></li>
								<li><a target="_blank" rel='external nofollow'
									href="http://inezha.com/add?url=http://feed.78999.org"><img
										id="inezha" src="/templets/default/images/t.png" title="哪吒"
										alt="哪吒" /></a></li>
							</ul>
						</div>
					</div>
					<!-- Start ContactMe -->
					<div class="ContactMe">
						<h3>Connect Me</h3>
						<ul>
							<li></li>
						</ul>
						<div class="imgDiv">
							<div id="Qme" title="Hello,与我保持联系吧!"></div>
							<div id="Mme" title="Guys!,Contact with me!"></div>
						</div>
					</div>
					<!-- End ContactMe -->
					<!-- Start New Articles -->
					<div class="TopComtors">
						<h3 title="最新文章">New Articles</h3>
						<script src='/data/js/0.js' type="text/javascript"></script>
					</div>
					<!-- End New Articles -->
				</div>
			</div>
			<div id="sidebarR">
				<h3>Pages</h3>
				<ul>
					<li class="page_item"><a href="/search/" title="Goole Search">Google
							搜索</a></li>
					<li class="page_item"><a href="/about/" title="关于星空">About
							Me</a></li>
					<li class="page_item"><a href="/data/sitemap.html"
						title="Site Map">Site Map</a></li>
					<li class="page_item"><a href="/plus/flink.php" title="好友与邻居">Site
							Links</a></li>
					<li class="page_item"><a href="/plus/guestbook.php"
						title="给我留言">Guest Book</a></li>
				</ul>
				<h3>Meta</h3>
				<ul>
					<li><a href="http://validator.w3.org/check?uri=referer"
						title="This page validates as XHTML 1.0 Transitional"
						target="_blank"><abbr
							title="eXtensible HyperText Markup Language">Xhtml</abbr></a></li>
					<li><a href="http://jigsaw.w3.org/css-validator/check/referer"
						title="Valid CSS!" target="_blank">Css</a></li>
				</ul>
			</div>
		</div>
		<div id="st-tag-cloud">
			<div class="st-tag-cloud">
				<!--自行查找复制default文件下模板相应代码添加宏标记，注意调用ID//-->
				<script src='/plus/mytag_js.php?aid=2' type="text/javascript"></script>
			</div>
		</div>
		<?php include $this->CompilerInclude("plus_foot.htm");
 ?>
</div>
</body>
</html>